package com.ash.javaconfig;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public abstract class OrderService {

    @Autowired
    private UserService userService;


    public abstract  Integer order();


    public UserService getUserService() {
        return userService;
    }
}
